package com.ourteam.workspace.domain;
/**
 * Template Name : DTO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Nov 30 16:49:33 CST 2018
 * Auto Generate Date : 2018-11-30 16:50:11
  * Warning ! This file will be overwrite when regenerate !
  * 
 */

import java.util.Map;
import java.util.HashMap;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.beanutils.BeanMap;
import net.dao.IDataPopulateCallback;


public class WorkspaceScmChangePathLogBean implements java.io.Serializable {

        
	private static Map<String,String> mappedDaoFields = new HashMap<String,String>();
    
	private com.ourteam.workspace.dao.WorkspaceScmChangePathLog workspaceScmChangePathLog;

	protected BeanMap getBeanMap(){
	
		return new BeanMap(workspaceScmChangePathLog);
	}
	
	static{
				
												
		mappedDaoFields.put("id",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Id);
		
																																																														
				
																																																
				
																
				
																
		mappedDaoFields.put("workspaceScmLogId",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.WorkspaceScmLogId);
		
																																																										
				
																																																
				
																
				
																				
		mappedDaoFields.put("path",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Path);
		
																																																						
				
																																																
				
																
				
																								
		mappedDaoFields.put("action",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Action);
		
																																																		
				
																																																
				
																
				
																												
		mappedDaoFields.put("copysrcrevision",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Copysrcrevision);
		
																																														
				
																																																
				
																
				
																																
		mappedDaoFields.put("copysrcpath",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Copysrcpath);
		
																																										
				
																																																
				
																
				
																																				
		mappedDaoFields.put("status",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Status);
		
																																						
				
																																																
				
																
				
																																								
		mappedDaoFields.put("remarks",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Remarks);
		
																																		
				
																																																
				
																
				
																																												
		mappedDaoFields.put("workspaceId",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.WorkspaceId);
		
																														
				
																																																
				
																
				
																																																
		mappedDaoFields.put("workspaceScmConfigId",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.WorkspaceScmConfigId);
		
																										
				
																																																
				
																
				
																																																				
		mappedDaoFields.put("changeLineCount",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.ChangeLineCount);
		
																						
				
																																																
				
																
				
																																																																		
				
										
		mappedDaoFields.put("author",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Author);
																																								
				
																
				
																																																																		
				
																										
		mappedDaoFields.put("revision",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.Revision);
																								
				
																
				
																																																																		
				
																		
		mappedDaoFields.put("revisionTime",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.RevisionTime);
																																
				
																
				
																																																																		
				
																																																
				
										
		mappedDaoFields.put("workspaceName",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.WorkspaceName);
								
				
																																																								
		mappedDaoFields.put("lineCount",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.LineCount);
		
																		
				
																																																
				
																
				
																																																												
		mappedDaoFields.put("commentLineCount",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.CommentLineCount);
		
														
				
																																																
				
																
				
																																																																
		mappedDaoFields.put("blankLineCount",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.BlankLineCount);
		
										
				
																																																
				
																
				
																																																																				
		mappedDaoFields.put("fileSize",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.FileSize);
		
						
				
																																																
				
																
				
																																																																		
				
																																		
		mappedDaoFields.put("totalLines",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.TotalLines);
																
				
																
				
																																																																		
				
																																										
		mappedDaoFields.put("totalSize",com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO.TotalSize);
								
				
																
				
				
	}
	
	public static String getMappedDAOField(String aAttrName){
		return mappedDaoFields.get(aAttrName);
	}
	
	
	public WorkspaceScmChangePathLogBean() {
		super();
	    		
		this.workspaceScmChangePathLog = new com.ourteam.workspace.dao.WorkspaceScmChangePathLog();
                
	}
	
		
	public WorkspaceScmChangePathLogBean(com.ourteam.workspace.dao.WorkspaceScmChangePathLog workspaceScmChangePathLog) {
		super();
	
		this.workspaceScmChangePathLog = workspaceScmChangePathLog;
		
	}
		
		
		
    	
	public com.ourteam.workspace.dao.WorkspaceScmChangePathLog convertToWorkspaceScmChangePathLog(){
		return this.workspaceScmChangePathLog;
	}
	
	public com.ourteam.workspace.dao.WorkspaceScmChangePathLog convertTo(){
		return this.workspaceScmChangePathLog;
	}
	
			
		
			
			
		
	/**
	 * Get id
	 * 
	 * @return long
	 */
	public long getId(){
		return (long) this.workspaceScmChangePathLog.getId();
	}
	
	/**
	 * Set id
	 * 
	 * @parameter long
	 */
	public void setId(long id){
		
		this.workspaceScmChangePathLog.setId(id);
	}
		
																															
			
																									
			
									
		
		
					
			
		
	/**
	 * Get workspaceScmLogId
	 * 
	 * @return long
	 */
	public long getWorkspaceScmLogId(){
		return (long) this.workspaceScmChangePathLog.getWorkspaceScmLogId();
	}
	
	/**
	 * Set workspaceScmLogId
	 * 
	 * @parameter long
	 */
	public void setWorkspaceScmLogId(long workspaceScmLogId){
		
		this.workspaceScmChangePathLog.setWorkspaceScmLogId(workspaceScmLogId);
	}
		
																													
			
																									
			
									
		
		
							
			
		
	/**
	 * Get path
	 * 
	 * @return String
	 */
	public String getPath(){
		return (String) this.workspaceScmChangePathLog.getPath();
	}
	
	/**
	 * Set path
	 * 
	 * @parameter String
	 */
	public void setPath(String path){
		
		this.workspaceScmChangePathLog.setPath(path);
	}
		
																											
			
																									
			
									
		
		
									
			
		
	/**
	 * Get action
	 * 
	 * @return String
	 */
	public String getAction(){
		return (String) this.workspaceScmChangePathLog.getAction();
	}
	
	/**
	 * Set action
	 * 
	 * @parameter String
	 */
	public void setAction(String action){
		
		this.workspaceScmChangePathLog.setAction(action);
	}
		
																									
			
																									
			
									
		
		
											
			
		
	/**
	 * Get copysrcrevision
	 * 
	 * @return String
	 */
	public String getCopysrcrevision(){
		return (String) this.workspaceScmChangePathLog.getCopysrcrevision();
	}
	
	/**
	 * Set copysrcrevision
	 * 
	 * @parameter String
	 */
	public void setCopysrcrevision(String copysrcrevision){
		
		this.workspaceScmChangePathLog.setCopysrcrevision(copysrcrevision);
	}
		
																							
			
																									
			
									
		
		
													
			
		
	/**
	 * Get copysrcpath
	 * 
	 * @return String
	 */
	public String getCopysrcpath(){
		return (String) this.workspaceScmChangePathLog.getCopysrcpath();
	}
	
	/**
	 * Set copysrcpath
	 * 
	 * @parameter String
	 */
	public void setCopysrcpath(String copysrcpath){
		
		this.workspaceScmChangePathLog.setCopysrcpath(copysrcpath);
	}
		
																					
			
																									
			
									
		
		
															
			
		
	/**
	 * Get status
	 * 
	 * @return String
	 */
	public String getStatus(){
		return (String) this.workspaceScmChangePathLog.getStatus();
	}
	
	/**
	 * Set status
	 * 
	 * @parameter String
	 */
	public void setStatus(String status){
		
		this.workspaceScmChangePathLog.setStatus(status);
	}
		
																			
			
																									
			
									
		
		
																	
			
		
	/**
	 * Get remarks
	 * 
	 * @return String
	 */
	public String getRemarks(){
		return (String) this.workspaceScmChangePathLog.getRemarks();
	}
	
	/**
	 * Set remarks
	 * 
	 * @parameter String
	 */
	public void setRemarks(String remarks){
		
		this.workspaceScmChangePathLog.setRemarks(remarks);
	}
		
																	
			
																									
			
									
		
		
																			
			
		
	/**
	 * Get workspaceId
	 * 
	 * @return long
	 */
	public long getWorkspaceId(){
		return (long) this.workspaceScmChangePathLog.getWorkspaceId();
	}
	
	/**
	 * Set workspaceId
	 * 
	 * @parameter long
	 */
	public void setWorkspaceId(long workspaceId){
		
		this.workspaceScmChangePathLog.setWorkspaceId(workspaceId);
	}
		
															
			
																									
			
									
		
		
																					
			
		
	/**
	 * Get workspaceScmConfigId
	 * 
	 * @return long
	 */
	public long getWorkspaceScmConfigId(){
		return (long) this.workspaceScmChangePathLog.getWorkspaceScmConfigId();
	}
	
	/**
	 * Set workspaceScmConfigId
	 * 
	 * @parameter long
	 */
	public void setWorkspaceScmConfigId(long workspaceScmConfigId){
		
		this.workspaceScmChangePathLog.setWorkspaceScmConfigId(workspaceScmConfigId);
	}
		
													
			
																									
			
									
		
		
																							
			
		
	/**
	 * Get changeLineCount
	 * 
	 * @return int
	 */
	public int getChangeLineCount(){
		return (int) this.workspaceScmChangePathLog.getChangeLineCount();
	}
	
	/**
	 * Set changeLineCount
	 * 
	 * @parameter int
	 */
	public void setChangeLineCount(int changeLineCount){
		
		this.workspaceScmChangePathLog.setChangeLineCount(changeLineCount);
	}
		
											
			
																									
			
									
		
		
																																
			
					
			
		
	/**
	 * Get author
	 * 
	 * @return String
	 */
	public String getAuthor(){
		
		return (String) this.workspaceScmChangePathLog.getAuthor();
			
	}
	
																					
			
									
		
		
																																
			
													
			
		
	/**
	 * Get revision
	 * 
	 * @return String
	 */
	public String getRevision(){
		
		return (String) this.workspaceScmChangePathLog.getRevision();
			
	}
	
													
			
									
		
		
																																
			
									
			
		
	/**
	 * Get revisionTime
	 * 
	 * @return java.util.Date
	 */
	public java.util.Date getRevisionTime(){
		
		return (java.util.Date) this.workspaceScmChangePathLog.getRevisionTime();
			
	}
	
																	
			
									
		
		
																																
			
																									
			
					
			
		
	/**
	 * Get workspaceName
	 * 
	 * @return String
	 */
	public String getWorkspaceName(){
		
		return (String) this.workspaceScmChangePathLog.getWorkspaceName();
			
	}
	
					
		
		
																									
			
		
	/**
	 * Get lineCount
	 * 
	 * @return long
	 */
	public long getLineCount(){
		return (long) this.workspaceScmChangePathLog.getLineCount();
	}
	
	/**
	 * Set lineCount
	 * 
	 * @parameter long
	 */
	public void setLineCount(long lineCount){
		
		this.workspaceScmChangePathLog.setLineCount(lineCount);
	}
		
									
			
																									
			
									
		
		
																											
			
		
	/**
	 * Get commentLineCount
	 * 
	 * @return long
	 */
	public long getCommentLineCount(){
		return (long) this.workspaceScmChangePathLog.getCommentLineCount();
	}
	
	/**
	 * Set commentLineCount
	 * 
	 * @parameter long
	 */
	public void setCommentLineCount(long commentLineCount){
		
		this.workspaceScmChangePathLog.setCommentLineCount(commentLineCount);
	}
		
							
			
																									
			
									
		
		
																													
			
		
	/**
	 * Get blankLineCount
	 * 
	 * @return long
	 */
	public long getBlankLineCount(){
		return (long) this.workspaceScmChangePathLog.getBlankLineCount();
	}
	
	/**
	 * Set blankLineCount
	 * 
	 * @parameter long
	 */
	public void setBlankLineCount(long blankLineCount){
		
		this.workspaceScmChangePathLog.setBlankLineCount(blankLineCount);
	}
		
					
			
																									
			
									
		
		
																															
			
		
	/**
	 * Get fileSize
	 * 
	 * @return long
	 */
	public long getFileSize(){
		return (long) this.workspaceScmChangePathLog.getFileSize();
	}
	
	/**
	 * Set fileSize
	 * 
	 * @parameter long
	 */
	public void setFileSize(long fileSize){
		
		this.workspaceScmChangePathLog.setFileSize(fileSize);
	}
		
			
			
																									
			
									
		
		
																																
			
																	
			
		
	/**
	 * Get totalLines
	 * 
	 * @return long
	 */
	public long getTotalLines(){
		
		return (long) this.workspaceScmChangePathLog.getTotalLines();
			
	}
	
									
			
									
		
		
																																
			
																					
			
		
	/**
	 * Get totalSize
	 * 
	 * @return long
	 */
	public long getTotalSize(){
		
		return (long) this.workspaceScmChangePathLog.getTotalSize();
			
	}
	
					
			
									
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
	
	public int hashCode() {
   		return org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(this);
 	}
	
		
	public boolean equals(Object obj) {
		if (obj == null) {
            return false;
        } // end if

        if ((obj instanceof WorkspaceScmChangePathLogBean) == false) {
            return false;
        } // end if

        WorkspaceScmChangePathLogBean other = (WorkspaceScmChangePathLogBean) obj;
        
        boolean isEqual = false;
        
                
        com.ourteam.workspace.dao.WorkspaceScmChangePathLog tempWorkspaceScmChangePathLog = other.convertToWorkspaceScmChangePathLog();
        
        if(tempWorkspaceScmChangePathLog == null || this.workspaceScmChangePathLog == null){
        	isEqual = false;
        }
        else if(tempWorkspaceScmChangePathLog == this.workspaceScmChangePathLog || tempWorkspaceScmChangePathLog.equals(this.workspaceScmChangePathLog) ){
        	isEqual = true;
        }
        else{
        	isEqual = false;
        }
        
        return isEqual;
	}
	
	
	public static WorkspaceScmChangePathLogBean[] toArray(com.ourteam.workspace.dao.WorkspaceScmChangePathLog[] aWorkspaceScmChangePathLogs){
		
		return toArray(aWorkspaceScmChangePathLogs,null);
	}
	
	public static WorkspaceScmChangePathLogBean[] toArray(com.ourteam.workspace.dao.WorkspaceScmChangePathLog[] aWorkspaceScmChangePathLogs , IDataPopulateCallback aCallBack){
		 
		 if(ArrayUtils.isEmpty(aWorkspaceScmChangePathLogs)){
		 	return new WorkspaceScmChangePathLogBean[0];
		 }
		 
		 int length = aWorkspaceScmChangePathLogs.length;
		 
		 WorkspaceScmChangePathLogBean[] beans = new WorkspaceScmChangePathLogBean[length];
		  
		 for (int i = 0; i < length; i++) {
			beans[i] = new WorkspaceScmChangePathLogBean(aWorkspaceScmChangePathLogs[i]);
			if(aCallBack != null){
			    aCallBack.populate(beans[i],new Object[]{aWorkspaceScmChangePathLogs[i]});
			}
		 }
		 
		 return beans;
	 }
	 
	 	 
}